package com.xmall.search.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xmall.define.base.BaseRetryLog;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * <p>
 * 商品更新日志
 * </p>
 *
 * @author xmall
 * @since 2023-11-21
 */
@Getter
@Setter
@TableName("product_update_retry_log")
@AllArgsConstructor
@NoArgsConstructor
public class ProductUpdateRetryLog extends BaseRetryLog {

    /**
     * spuId
     */
    private Long spuId;

    /**
     * es版本
     */
    private Integer esVersion;

    public ProductUpdateRetryLog(Integer logStatus) {
        this.setLogStatus(logStatus);
    }
}
